﻿namespace ExcelToTPI.Utility
{
    public class WorkerArgument
    {
        /// <summary>
        /// 是否导出数字对象
        /// </summary>
        public bool IsExportDigitalObject { get; set; }
        /// <summary>
        /// 数字对象源路径
        /// </summary>
        public string DigitalObjectPath { get; set; }
        /// <summary>
        /// Excel保存路径
        /// </summary>
        public string ExcelSavePath { get; set; }
        /// <summary>
        /// 查询数据所需要的SQL语句
        /// </summary>
        public string SqlExpression { get; set; }
        /// <summary>
        /// 数据库编码
        /// </summary>
        public string DatabaseCode { get; set; }
        /// <summary>
        /// 记录总数
        /// </summary>
        public int RecordCount { get; set; }
        /// <summary>
        /// 单个Excel容量
        /// </summary>
        public int ExcelCapacity { get; set; }
        /// <summary>
        /// 分隔符
        /// </summary>
        public string Seperator { get; set; }
        /// <summary>
        /// 文件名字段
        /// </summary>
        public string FileNameField { get; set; }
    }
}
